<template>
  <div style="min-width: 1440px" v-if="!route.path.includes('/view-app')">
    <router-view />
  </div>
  <router-view v-else />
</template>

<script lang="ts">
import { defineComponent } from 'vue'
import { useRoute } from 'vue-router'

export default defineComponent({
  name: 'App',
  setup() {
    const route = useRoute()

    return {
      route,
    }
  },
})
</script>

<style lang="less">
#app {
  color: #333333;
  div::-webkit-scrollbar {
    width: 6px;
  }
  div::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 3px;
  }
}
</style>
